package com.sjgtw.cloud.web.largeEquipment.mapper;

import com.sjgtw.cloud.web.largeEquipment.domain.LargeEquipment;

import java.util.List;
import java.util.Map;

/**
 * equipmentMapper接口
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
public interface LargeEquipmentMapper 
{
    /**
     * 查询equipment
     * 
     * @param id equipment主键
     * @return equipment
     */
    public LargeEquipment selectLargeEquipmentById(Long id);

    /**
     * 查询equipment列表
     * 
     * @param largeEquipment equipment
     * @return equipment集合
     */
    public List<Map<String,Object>> selectLargeEquipmentList(LargeEquipment largeEquipment);

    List<LargeEquipment> selectLargeEquipmentList2(LargeEquipment largeEquipment);

    /**
     * 新增equipment
     * 
     * @param largeEquipment equipment
     * @return 结果
     */
    public int insertLargeEquipment(LargeEquipment largeEquipment);

    /**
     * 修改equipment
     * 
     * @param largeEquipment equipment
     * @return 结果
     */
    public int updateLargeEquipment(LargeEquipment largeEquipment);

    /**
     * 删除equipment
     * 
     * @param id equipment主键
     * @return 结果
     */
    public int deleteLargeEquipmentById(Long id);

    /**
     * 批量删除equipment
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLargeEquipmentByIds(Long[] ids);

    void batchSave(List<LargeEquipment> entities);
}
